Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Install / update extensions w/ component updater #4105

Merged
merged 3 commits into from
Sep 27, 2016
Merged

Conversation

bbondy
Copy link
Member

@bbondy bbondy commented Sep 19, 2016

Requires:
brave/muon#59
brave/libchromiumcontent#4
brave/brightray#1
brave/vault-updater#33

Fix #4080
Fix #4081

Test Plan:

  • Completely retest each extension from scratch.
  • Try cleaning your userProfileDir/Extensions but not the session-store-1 file, things should be recoverable / normal
  • Try cleaning your session-store-1, things should be recoverable.
  • Try manually setting your session-store-1 for 1passwrod from 4.5.9.90 to 4.4.9.90 (replace all), edit ~/Library/Application\ Support/brave-development/Extensions/aomjjhallfgjeglblehebfpbcfeobpgk/4.5.9.90/manifest.json and set the version inside the manifest to 4.4.9.90. Move the folder to a subfolder called 4.4.9.90 as well.
  • Start up and wait 10 minutes, it should update. Or you can run require('electron').remote.session.defaultSession.updateClient.checkNow('aomjjhallfgjeglblehebfpbcfeobpgk') to force the update. about:extensions should show the new version.

Auditors: @bridiver, @darkdh

@bbondy bbondy changed the title Component updater Install / update extensions w/ component updater Sep 19, 2016
@bbondy bbondy added this to the 0.12.2dev milestone Sep 19, 2016
@bbondy bbondy force-pushed the component_updater branch 5 times, most recently from 7afdaf5 to b61fe96 Compare September 20, 2016 06:41
@bbondy bbondy self-assigned this Sep 21, 2016
@bbondy bbondy modified the milestones: 0.12.3dev, 0.12.2dev Sep 21, 2016
@bbondy
Copy link
Member Author

bbondy commented Sep 24, 2016

@darkdh @bridiver this is ready for another review.

Fix #4080
Fix #4081

Test Plan:
- Completely retest each extension from scratch.
- Try cleaning your userProfileDir/Extensions but not the
  session-store-1 file, things should be recoverable / normal
- Try cleaning your session-store-1, things should be recoverable.
- Try manually setting your session-store-1 for 1passwrod from
  4.5.9.90 to 4.4.9.90 (replace all), edit `~/Library/Application\ Support/brave-development/Extensions/aomjjhallfgjeglblehebfpbcfeobpgk/4.5.9.90/manifest.json`
  and set the version inside the manifest to 4.4.9.90.  Move the
  folder to a subfolder called 4.4.9.90 as well.
- Start up and wait 10 minutes, it should update. Or you can run
  `require('electron').remote.session.defaultSession.updateClient.checkNow('aomjjhallfgjeglblehebfpbcfeobpgk')`
  to force the update.  about:extensions should show the new
  version.
@bbondy
Copy link
Member Author

bbondy commented Sep 27, 2016

BrianJ reviewed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants